package org.jsola.hr.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.entity.BaseTreeDO;
import org.jsola.core.entity.Key;

import javax.persistence.Table;

/**
 * 制度分类
 *
 * @author zhr
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Table(name = "hr_institution_type")
@Key(UUID = true)
public class InstitutionTypeDO extends BaseTreeDO<String> {

    private static final long serialVersionUID = 1L;

    /**
     * 制度分类名称
     */
    private String institutionTypeName;
    /**
     * 制度分类介绍
     */
    private String institutionTypeIntroduce;
    /**
     * 父级ID，一级为0
     */
    private String parentId;
    /**
     * 顺序值，越小越靠前
     */
    private Long sort;
    /**
     * 所属层级，一级为1，二级为2，以此类推
     */
    private Integer level;



}

